<template>
    <h2>用户理财项目列表</h2>
    <FinanInfoContent v-slot="finan">
       
        <a href="#" @click="ShowDetail(finan.id)">用户购买明细</a>
        
    </FinanInfoContent>
</template>

<script setup lang="ts">
import FinanInfoContent from './FinanInfoContent.vue'
//import axios from 'axios';
import { useRouter } from 'vue-router'

const router = useRouter();


//购买
const ShowDetail = (F_id: any) => {
   
    router.push({
        path: '/LookUserFinan',
        query: {
            F_id: F_id
        }
    })
}


</script>
